package cn.com.aiouyi.service;

import cn.com.aiouyi.entity.Member;

/**
 * Service - 用户
 * @author hanson
 *
 */
public interface MemberService extends BaseService<Member, Long>{

	/**
	 * 根据用户名查找用户
	 * @param username
	 * @return
	 */
	Member findByUsername(String username);
	
	/**
	 * 获取当前用户
	 * @return
	 */
	Member getCurrent();
}
